package com.behelpful.common.integration.captcha.model;

import com.behelpful.common.core.jackson.sensitive.Sensitive;
import com.behelpful.common.core.jackson.sensitive.SensitiveTypeEnum;
import lombok.Builder;
import lombok.Data;

import java.io.Serializable;

/**
 * 算数图形验证码返回对象
 *
 * @author Alay
 * @date 2021-09-22 13:04
 * <T> 返回数据的类型
 */
@Data
@Builder
public class CaptchaVo implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 唯一Id
     */
    private String codeId;
    /**
     * 算数计算结果
     */
    @Sensitive(type = SensitiveTypeEnum.PASSWORD)
    private String result;
    /**
     * Base64字符
     */
    private String base64Str;
}
